package com.lsu.app.mapper;

import com.lsu.app.bean.ScheduleCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 *
 * @description 针对表【schedule_course(课程表关联课程id)】的数据库操作Mapper
 * @Date 2023-11-07 18:43:44
 * @author hjj
 */
@Mapper
public interface ScheduleCourseMapper extends BaseMapper<ScheduleCourse> {
    @Select("select skip,index_week,which_num,course_id,start_weekly,end_weekly,remake,state from schedule_course where schedule_id=#{scId}")
    List<ScheduleCourse> copyDate(Integer scId);
    @Select("select id from schedule_course")
    List<Integer> getIds();

}




